package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.annotation.Excel.ColumnType;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 大学专业关联表 university_major
 * 
 * @author ruoyi
 */
public class UniversityMajor extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 关联ID */
    @Excel(name = "关联序号", cellType = ColumnType.NUMERIC)
    private Long id;

    /** 大学ID */
    @Excel(name = "大学ID", cellType = ColumnType.NUMERIC)
    private Long universityId;

    /** 专业ID */
    @Excel(name = "专业ID", cellType = ColumnType.NUMERIC)
    private Long majorId;

    /** 招生年份 */
    @Excel(name = "招生年份", cellType = ColumnType.NUMERIC)
    private Integer enrollYear;

    /** 招生计划数 */
    @Excel(name = "招生计划数", cellType = ColumnType.NUMERIC)
    private Integer planCount;

    /** 实际招生数 */
    @Excel(name = "实际招生数", cellType = ColumnType.NUMERIC)
    private Integer actualCount;

    /** 最低分 */
    @Excel(name = "最低分", cellType = ColumnType.NUMERIC)
    private Integer minScore;

    /** 最高分 */
    @Excel(name = "最高分", cellType = ColumnType.NUMERIC)
    private Integer maxScore;

    /** 平均分 */
    @Excel(name = "平均分", cellType = ColumnType.NUMERIC)
    private Integer avgScore;

    /** 状态（0正常 1停用） */
    @Excel(name = "状态", readConverterExp = "0=正常,1=停用")
    private String status;

    /** 大学名称（非数据库字段） */
    @Excel(name = "大学名称")
    private String universityName;

    /** 专业名称（非数据库字段） */
    @Excel(name = "专业名称")
    private String majorName;

    public Long getId()
    {
        return id;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getUniversityId()
    {
        return universityId;
    }

    public void setUniversityId(Long universityId)
    {
        this.universityId = universityId;
    }

    public Long getMajorId()
    {
        return majorId;
    }

    public void setMajorId(Long majorId)
    {
        this.majorId = majorId;
    }

    public Integer getEnrollYear()
    {
        return enrollYear;
    }

    public void setEnrollYear(Integer enrollYear)
    {
        this.enrollYear = enrollYear;
    }

    public Integer getPlanCount()
    {
        return planCount;
    }

    public void setPlanCount(Integer planCount)
    {
        this.planCount = planCount;
    }

    public Integer getActualCount()
    {
        return actualCount;
    }

    public void setActualCount(Integer actualCount)
    {
        this.actualCount = actualCount;
    }

    public Integer getMinScore()
    {
        return minScore;
    }

    public void setMinScore(Integer minScore)
    {
        this.minScore = minScore;
    }

    public Integer getMaxScore()
    {
        return maxScore;
    }

    public void setMaxScore(Integer maxScore)
    {
        this.maxScore = maxScore;
    }

    public Integer getAvgScore()
    {
        return avgScore;
    }

    public void setAvgScore(Integer avgScore)
    {
        this.avgScore = avgScore;
    }

    public String getStatus()
    {
        return status;
    }

    public void setStatus(String status)
    {
        this.status = status;
    }

    public String getUniversityName()
    {
        return universityName;
    }

    public void setUniversityName(String universityName)
    {
        this.universityName = universityName;
    }

    public String getMajorName()
    {
        return majorName;
    }

    public void setMajorName(String majorName)
    {
        this.majorName = majorName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("universityId", getUniversityId())
            .append("majorId", getMajorId())
            .append("enrollYear", getEnrollYear())
            .append("planCount", getPlanCount())
            .append("actualCount", getActualCount())
            .append("minScore", getMinScore())
            .append("maxScore", getMaxScore())
            .append("avgScore", getAvgScore())
            .append("status", getStatus())
            .append("universityName", getUniversityName())
            .append("majorName", getMajorName())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
} 